package com.ztgf.order.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单表DTO
 *
 * @author chenyu.wang
 * @Date 2020-06-03 15:32:26
 */
@Data
@TableName("offline_order_info")
@ApiModel(value = "线下订单表对象", description = "线下订单表对象")
public class DealOrderInfoDTO extends BaseDTO implements Serializable {
    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "买家名称")
    private String companyName;

    @ApiModelProperty(value = "卖家名称")
    private String sellerName;

    @ApiModelProperty(value = "应付总额")
    private BigDecimal actualMoney;


    @ApiModelProperty(value = "类型、0为线上，1为线下")
    private Long type;

    @ApiModelProperty(value = "pdf地址")
    private String pdfUrl;

    @ApiModelProperty(value = "合同id")
    private String contactId;
}